//
//  UICollectionView+LCExtension.m
//  LCPackage
//
//  Created by 马军凯 on 2021/7/28.
//  Copyright © 2021 龙采科技集团. All rights reserved.
//

#import "UICollectionView+LCExtension.h"

@implementation UICollectionView (LCExtension)

//注册
- (void)registerNibWith:(NSArray<NSString *> *)nibArray {
    for (int i = 0; i < nibArray.count; i++) {
        NSString *nibName = nibArray[i];
        UINib *nib = [UINib nibWithNibName:nibName bundle:[NSBundle mainBundle]];
        [self registerNib:nib forCellWithReuseIdentifier:nibName];
    }
}

@end
